package com.ccrfid.rmc6.entity.mattress;

import javax.persistence.*;

@Entity
@Table(name = "ht_bed")
public class BedEntity {
    private String bedSn;
    private String mattressSn;
    private Long personnelId;
    private String personnelName;
    private Integer rowNum;
    private Integer colNum;

    @Id
    @Column(name = "bed_sn", nullable = false)
    public String getBedSn() {
        return bedSn;
    }

    public void setBedSn(String bedSn) {
        this.bedSn = bedSn;
    }

    @Basic
    @Column(name = "mattress_sn")
    public String getMattressSn() {
        return mattressSn;
    }

    public void setMattressSn(String mattressSn) {
        this.mattressSn = mattressSn;
    }

    @Basic
    @Column(name = "personnel_id")
    public Long getPersonnelId() {
        return personnelId;
    }

    public void setPersonnelId(Long personnelId) {
        this.personnelId = personnelId;
    }

    @Basic
    @Column(name = "personnel_name")
    public String getPersonnelName() {
        return personnelName;
    }

    public void setPersonnelName(String personnelName) {
        this.personnelName = personnelName;
    }

    @Basic
    @Column(name = "row_num", nullable = false)
    public Integer getRowNum() {
        return rowNum;
    }

    public void setRowNum(Integer rowNum) {
        this.rowNum = rowNum;
    }

    @Basic
    @Column(name = "col_num", nullable = false)
    public Integer getColNum() {
        return colNum;
    }

    public void setColNum(Integer colNum) {
        this.colNum = colNum;
    }
}
